package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 月收益对象 sys_income_month
 * 
 * @author ruoyi
 * @date 2022-10-30
 */
public class SysIncomeMonth extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 收益id */
    private Long incomeId;

    /** 用户 */
    @Excel(name = "用户")
    private String user;

    /** 收益月份 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "收益月份", width = 30, dateFormat = "yyyy-MM-dd")
    private Date incomeMonth;

    /** 月收益 */
    @Excel(name = "月收益")
    private Long income;

    public void setIncomeId(Long incomeId) 
    {
        this.incomeId = incomeId;
    }

    public Long getIncomeId() 
    {
        return incomeId;
    }
    public void setUser(String user) 
    {
        this.user = user;
    }

    public String getUser() 
    {
        return user;
    }
    public void setIncomeMonth(Date incomeMonth) 
    {
        this.incomeMonth = incomeMonth;
    }

    public Date getIncomeMonth() 
    {
        return incomeMonth;
    }
    public void setIncome(Long income) 
    {
        this.income = income;
    }

    public Long getIncome() 
    {
        return income;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("incomeId", getIncomeId())
            .append("user", getUser())
            .append("incomeMonth", getIncomeMonth())
            .append("income", getIncome())
            .toString();
    }
}
